home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / C++ A'Link Files / 1990 / Sep 90 / CPlus.Dev$ 9⁄28⁄90 / 0213-C++ 3.1b4 bug-Sep90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.1 KB  |  49 lines  |  [TEXT/GEOL]

  1. Item    1017418                         27-Sept-90        02:18PDT
  2.  
  3. From:   LOCKWOOD                        Savitar, Mike Lockwood,PRT
  4.  
  5. To:     CPLUS.APPLE$                    C++ Interest List--Apple Employees
  6.         CPLUS.DEV$                      C++ Interest List--Developers
  7.         MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    C++ 3.1b4 bug
  10.  
  11. Attn: CPlus Apple
  12. Attn: CPlus Developers
  13. Attn: MacApp Tech
  14. SentBy: Mike Lockwood
  15. Date   9/26/90
  16. Subject    C++ 3.1b4 bug
  17. From   Mike Lockwood
  18. To CPlus Apple
  19.    CPlus Developers
  20.    MacApp Tech
  21.    MACDTS
  22.  
  23. C++ 3.1b4 bug                                  2:55 PM      9/26/90
  24. The following chunk of C++ code compiled with no errors, but obviously makes
  25. no sense and does not work:
  26.  
  27.        aWindow = NewTemplateWindow(5409, nil);
  28.        FailNIL(aWindow);
  29.        aView = (TDummyDialogView *)aWindow->FindSubView('dlog);
  30.        FailNIL(aView);
  31.  
  32. Notice the missing single quote on the third line.  It seems that a nice (or
  33. not so nice) compiler error is necessary here.
  34.  
  35. Environment:
  36.  
  37. Mac IIfx with 8 meg
  38. MPW 3.2b1
  39. MPW C++ 3.1b4
  40. System 7.0a12, 24 bit addressing, VM on.
  41.  
  42.  
  43. Mike Lockwood
  44. Savitar, Inc.
  45.  
  46.  
  47.  
  48.  
  49.